package com.smartcommunity.entity.fullSearch;

import java.io.Serializable;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;
import com.smartcommunity.entity.people.People;
import com.smartcommunity.entity.vehicle.Vehicle;
import com.smartcommunity.entity.vid.VidInfo;
import com.smartcommunity.entity.village.House;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 全息档案-检索结果
 * @author yangyi
 *
 */
@ApiModel(description = "全息档案-检索结果")
@Getter
@Setter
public class FullSearchResponse implements Serializable {
	
	private static final long serialVersionUID = -1L;
	
	@ApiModelProperty(value = "数据类型  1:实有人口  2:车辆 3:房屋  4:vid")
	private Integer dataType;
	
	@ApiModelProperty(value = "图片搜索分数")
    private Double dist = 0D;
	
	@ApiModelProperty(value = "视频档案")
    private VidInfo vidInfo;

	@ApiModelProperty(value = "实有人口")
    private People people;
    
	@ApiModelProperty(value = "实有车辆")
    private Vehicle vehicle;
    
	@ApiModelProperty(value = "房屋")
    private House house;
    
	public String toString() {
        return JSON.toJSONString(this, SerializerFeature.WriteMapNullValue);
    }
	
}
